﻿using UnityEngine;
using System;

[CreateAssetMenu(fileName = "Gauge.asset", menuName = "Gauge Information")]
public class GaugeInfo : ScriptableObject
{
    public bool invert = true;

    public float min = 0;
    public float max = 100;

    public float minAngle = -10F;
    public float maxAngle = 190F;
    
    public float splitAngleBold = 20;
    public float splitAngleThin = 4;

    public GaugeRange[] ranges;
}

[Serializable]
public class GaugeRange
{
    public float rangeMin = 0f;
    public float rangeMax = 0f;
    public Color rangeColor = Color.white;
    public bool enable = true;
}